import examineComponent from '../backlogComponent/examineComponent.vue' //用于企业端上报
// import konwnCompany from '../backlogComponent/konwnCompany.vue' //2-知名审核不通过上报
// import qualityCompany from '../backlogComponent/qualityCompany.vue' //3-优质审核不通过上报
import postComponent from '../backlogComponent/postComponent.vue' //4-下架上报
import pullBlackComponent from '../backlogComponent/pullBlackComponent.vue' //5-拉黑上报//拉黑与还原

// import reductionComponent from '../backlogComponent/reductionComponent.vue' //6-还原上报

import feedbackComponent from '../backlogComponent/feedbackComponent.vue' //7-反馈上报

import entryException from '../backlogComponent/entryException.vue' //8-入职异常上报
import leaveException from '../backlogComponent/leaveException.vue' //9-保障内离职异常上报
import breakComponent from '../backlogComponent/breakComponent.vue' //10-爽约

import corporateRefund from '../backlogComponent/corporateRefund.vue' //11企业退款
import personalCash from '../backlogComponent/personalCash.vue' //12个人提现
import recharge from "../backlogComponent/recharge.vue" //13对公充值


export default {
    name: 'ScheduleComponent',
    data() {
        return {
            loading: false,
            currentType: '',
            global: {}
        }
    },

    created() {
        this.global = this.GLOBAL;

    },
    components: {
        examineComponent,
        postComponent,
        pullBlackComponent,
        // reductionComponent,
        feedbackComponent,
        entryException,
        leaveException,
        breakComponent,
        corporateRefund,
        personalCash,
        recharge

    },
    mounted() {},
    methods: {
        getType(type) {
            this.currentType = type;
        },

        // 查看会员详情
        handleClickNickName(row) {
            this.userid = row.companyid;
            this.nickName = row.companyname;
            this.dialogVisible = true;
        },
        reportCallback(data) {
            this.$axios.post('app/v1/platform/unusual/todoHandleSubmit',
                data
            ).then(resp => {
                if (resp.data.message === 'success.') {
                    // this.tableData = resp.data.data;
                    // this.pages.total = resp.data.data.length;
                    this.loading = false;

                }
            })

        }
    }
}